package org.way.iam.service.impl;

import org.springframework.stereotype.Service;
import org.way.iam.dto.UserPostDto;
import org.way.iam.mapper.SysUserPositionMapper;
import org.way.iam.service.ISysUserPostService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysUserPostServiceService implements ISysUserPostService {

    @Resource
    private SysUserPositionMapper userPositionMapper;

    @Override
    public List<UserPostDto> getUserPosition(String userId) {
        return userPositionMapper.getUserPosition(userId);
    }
}
